<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>

<%@ taglib prefix="form" uri="http://www.springframework.org/tags/form" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html>
<head>
	<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
	<title>Media Upload Test Page</title>
</head>
<body>
	<form:form modelAttribute="media" method="post" enctype="multipart/form-data">
		<fieldset>
			<legend>Credentials</legend>

			<p>
				<form:label for="user" path="user">user</form:label>
				<br />
				<form:input path="user" />
			</p>
			
			<p>
				<form:label for="password" path="password">password</form:label>
				<br />
				<form:input path="password" />
			</p>
		</fieldset>
		
		<fieldset>
			<legend>Media Properties</legend>

			<p>
				<form:label for="workGroupId" path="workGroupId">workGroupId</form:label>
				<br />
				<form:input path="workGroupId" />
			</p>
			
			<p>
				<form:label for="title" path="title">title</form:label>
				<br />
				<form:input path="title" />
			</p>
			
			<p>
				<form:label for="description" path="description">description</form:label>
				<br />
				<form:input path="description" />
			</p>
			
			<p>
				<form:label for="itemAbstract" path="itemAbstract">itemAbstract</form:label>
				<br />
				<form:input path="itemAbstract" />
			</p>
			
			<p>
				<form:label for="isAnonymous" path="isAnonymous">isAnonymous</form:label>
				<br />
				<form:checkbox path="isAnonymous" />
			</p>
			
			<p>
				<form:label for="isShareable" path="isShareable">isShareable</form:label>
				<br />
				<form:checkbox path="isShareable" />
			</p>
			
			<p>
				<form:label for="isCommentable" path="isCommentable">isCommentable</form:label>
				<br />
				<form:checkbox path="isCommentable" />
			</p>
			
			<p>
				<form:label for="workflowDueDate" path="workflowDueDate">workflowDueDate</form:label>
				<br />
				<form:input path="workflowDueDate" />
			</p>
			
			<p>
				<form:label for="priority" path="priority">priority</form:label>
				<br />
				<form:input path="priority" />
			</p>
			
			<p>
				<form:label for="sendEmailNotifications" path="isCommentable">sendEmailNotifications</form:label>
				<br />
				<form:checkbox path="sendEmailNotifications" />
			</p>

			<p>
				<form:label for="mediaFile" path="mediaFile">mediaFile</form:label>
				<br />
				<form:input path="mediaFile" type="file" />
			</p>

			<p>
				<input type="submit" />
			</p>
		</fieldset>
	</form:form>
</body>
</html>
